﻿
@{
    ViewBag.Title = "shroffbookIndex";
}
@model justice.Models.justice_user
<style>
    table{background-color:white;color:black;width:90%;margin:auto;border-radius:3px;text-align:center;}
    th{text-align:center;background-color:#585858;}
    .page-btn{width:90%;text-align:center; color:white;}
    .page-input{width:5%;border-radius:6px;color:black;text-align:center;}
    .th-1{border-top-left-radius:3px;}
    .th-5{border-top-right-radius:3px;}
    .dropdown-menu{
        border-radius:2px;
    }
    footer{
        position:fixed;
        left:0;
        bottom:0;
        width:100%;
    }
</style>
<table class="table table-responsive">
    <tr>
        <th class="th-1">序列</th>
        <th>表格编号</th>
        <th>录入时间</th>
        <th>所属单位</th>
        <th>参与保险公司</th>
        <th class="th-5">操作</th>
    </tr>
    @{ 
        int i = 0;
        foreach (var item in ViewBag.list)
        {
            i++;
            <tr>
                <td>@i</td>
                <td>@item.tablenumber</td>
                <td>@item.time</td>
                <td>@item.judiciaryName</td>
                @{ 
                    if (item.insurerName == null)
                    {
                        <td>未涉保</td>
                    }
                    else
                    {

                        <td>@item.insurerName</td>
                    }
                }
                <td>
                    <ul class="nav">
                        <li class="dropdown mymenu">
                            <a href="services.html" style="display:inline;" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">查看详情<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="/ShroffBook/shroffbookinfos?id=@item.shroffbook_id">司法鉴定委托书</a></li>
                                <li><a href="/As/MakingsCirculationDataView?id=@item.shroffbook_id">鉴定材料流转单</a></li>
                                <li><a href="/As/ForensicExaminationRecordDataView?id=@item.shroffbook_id">法医临床学检查笔录</a></li>
                                <li><a href="/As/ReceiptServiceEvaluationsDataView?id=@item.shroffbook_id">送达回证</a></li>
                                <li><a href="/ForensicOpinion/ForensicOpinionIndex?id=@item.shroffbook_id">法医学鉴定意见书</a></li>
                                <li><a href="/XKDShroffTrustBook/ShroffTrustDataView?id=@item.shroffbook_id">鉴定委托书评审记录</a></li>
                            </ul>
                        </li>
                    </ul>
                </td>
            </tr>
        }
    }
</table>
<link href="~/Content/page.css" rel="stylesheet" />
@Html.Partial("Page");